test: *.c *.h
	[ -d atomic ] || git clone https://gitee.com/windowhero/atomic
	[ -d list ] || git clone https://gitee.com/windowhero/list
	[ -d connect_to ] || git clone https://gitee.com/windowhero/connect_to
	gcc -g -o $@ $< -I. -Iatomic -Iint2human -Ilist -Ilog -Wall -Iconnect_to
	./test

.PHONY: test

clean:
	rm -rf test
